.borrow-container {
  min-height: 100vh;
  padding: 24px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-header h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 600;
  color: #333;
}

.page-header p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

/* 区块卡片 */
.section-card {
  width: 60%;
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.section-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.section-count {
  background: #409eff;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.empty-state p {
  margin: 0;
  font-size: 16px;
}

/* 表格美化 */
.el-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  background: white;
}

.el-table__header {
  background-color: #fafafa;
  font-weight: 600;
}

/* 状态徽章 */
.book-status {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 16px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

/* 借阅中：绿色 */
.status-borrowing {
  background: #e1f3d8;
  color: #67c23a;
  border-color: #d2eac3;
}

/* 逾期：红色 */
.status-overdue {
  background: #fde2e2;
  color: #f56c6c;
  border-color: #fbc4c4;
}

/* 已归还：蓝色 */
.status-returned {
  background: #d0e6ff;
  color: #409eff;
  border-color: #aacfff;
}

/* 响应式表格容器 */
@media (max-width: 768px) {
  .section-card {
    padding: 16px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .el-table {
    font-size: 12px;
  }

  .book-status {
    font-size: 12px;
    padding: 4px 10px;
  }
}
